import os
import sys

print "os.getcwd() = ", os.getcwd()
print "sys.argv[0] = ", sys.argv[0]
print "os.path.split(sys.argv[0]) = ", os.path.split(sys.argv[0])